
<?php include('left.php');?>
 <div id="main-content">
   <!-- Main Content Section with everything -->
   <noscript>
   <!-- Show a notification if the user has disabled javascript -->
   <div class="notification error png_bg">
     <div> Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
       Download From <a href="http://www.exet.tk">exet.tk</a></div>
   </div>
   </noscript>
   <!-- Page Head -->
   <h2>围棋充值记录</h2>
   <br/>
   <!--<p id="page-intro">What would you like to do?</p>-->
   <!--
   <ul class="shortcut-buttons-set">
     <li><a class="shortcut-button" href="#"><span> <img src="/images/icons/pencil_48.png" alt="icon" /><br />
       Write an Article </span></a></li>
     <li><a class="shortcut-button" href="#"><span> <img src="/images/icons/paper_content_pencil_48.png" alt="icon" /><br />
       Create a New Page </span></a></li>
     <li><a class="shortcut-button" href="#"><span> <img src="/images/icons/image_add_48.png" alt="icon" /><br />
       Upload an Image </span></a></li>
     <li><a class="shortcut-button" href="#"><span> <img src="/images/icons/clock_48.png" alt="icon" /><br />
       Add an Event </span></a></li>
     <li><a class="shortcut-button" href="#messages" rel="modal"><span> <img src="/images/icons/comment_48.png" alt="icon" /><br />
       Open Modal </span></a></li>
   </ul>
   -->
   <!-- End .shortcut-buttons-set -->
     <div class="clear"></div>
   <!-- End .clear -->
   <div class="content-box">
     <!-- Start Content Box -->
     <div class="content-box-header">
       <h3>围棋充值明细表</h3>
       <ul class="content-box-tabs">
           <!--<li><a href="#tab1" class="default-tab">Table</a></li>-->
         <!-- href must be unique and match the id of target div -->
           <!--<li><a href="#tab2">Forms</a></li>-->
       </ul>
       <div class="clear"></div>
     </div>
     <!-- End .content-box-header -->
     <div class="content-box-content">
       <div class="tab-content default-tab" id="tab1">
         <!-- This is the target div. id must match the href of this div's tab -->
           <!--
         <div class="notification attention png_bg"> <a href="#" class="close">
             <img src="/images/icons/cross_grey_small.png" title="Close this notification" alt="close" /></a>
           <div> This is a Content Box. You can put whatever you want in it. By the way, you can close this notification with the top-right cross. </div>
         </div>-->
         <table>
           <thead>
             <tr>
               <th>日期</th>
               <th>冲值人数</th>
               <th>总金额</th>
             </tr>
           </thead>
           <tfoot>
             <tr>
               <td colspan="6">
                   <!--
                 <div class="bulk-actions align-left">
                   <select name="dropdown">
                     <option value="option1">Choose an action...</option>
                     <option value="option2">Edit</option>
                     <option value="option3">Delete</option>
                   </select>
                   <a class="button" href="#">Apply to selected</a> </div>
                    -->
                 <!-- End .pagination -->
                 <div class="clear"></div>
               </td>
             </tr>
           </tfoot>
           <tbody>
               <?php $total = 0;foreach ($data as $v) {?>
               <tr>
                 <td><?=date('Y-m-d', strtotime($v['create_time']));?></td>
                 <td><?=$v['number']?></td>
                 <td><?=$v['price']?></td>
               </tr>
            <?php $total += $v['price'];}?>
               <tr><td></td><td>总计</td><td><?=$total;?></td></tr>
           <!--
             <tr>
               <td>
                 <input type="checkbox" />
               </td>
               <td>Lorem ipsum dolor</td>
               <td><a href="#" title="title">Sit amet</a></td>
               <td>Consectetur adipiscing</td>
               <td>Donec tortor diam</td>
               <td>
                 <a href="#" title="Edit"><img src="/images/icons/pencil.png" alt="Edit" /></a> <a href="#" title="Delete">
                   <img src="/images/icons/cross.png" alt="Delete" /></a> <a href="#" title="Edit Meta"><img src="/images/icons/hammer_screwdriver.png" alt="Edit Meta" /></a> </td>
             </tr>
           -->
           </tbody>
         </table>
       </div>
       <!-- End #tab1 -->

       <!-- End #tab2 -->
     </div>
     <!-- End .content-box-content -->
   </div>
   <!-- End .content-box -->
   <!-- End .content-box -->
   <div class="clear"></div>
   <!-- Start Notifications -->

   <!-- End Notifications -->
   <?php require(dirname(__FILE__) . '/footer.php'); ?>
   <!-- End #footer -->
 </div>
 <!-- End #main-content -->
</div>
</body>
<!-- Download From www.exet.tk-->
</html>
<script type="text/javascript">
    function exports()
    {
        document.getElementById('export_id').value = 1;
        document.search_form.submit();
    }
</script>
